import 'dotenv/config'
import 'pinpoint-node-agent'
import './pre-start' // Must be the first import
import app from '@server'
import logger from '@shared/Logger'


// Start the server
const port = Number(process.env.PORT || 3000)
app.listen(port, () => {
    logger.info('Express server started on port: ' + port)
})
